package com.goktech.sportsmall.service;

import com.goktech.sportsmall.bean.CommodityBean;

import java.util.List;
import java.util.Map;

public interface CommodityService {

    Map<String,Object> vueSelectCount();

    String addCommodity(CommodityBean commodityBean);

    List<CommodityBean> selectList(CommodityBean commodityBean);

    // 分页查询（页数，页面中条数）
    Map<String,Object> limitSelect(int page, int size);

    String deleteCommodity(String no);

    // 更新数据
    String updateCommodity(CommodityBean commodityBean);

    Map<String,Object> queryLimitSelect(String c_name,String c_sort,String c_detail,int page,int size);
}
